import { deepCopy } from "./utils.js";

const cache = [];
export function getCache() {
    return deepCopy(cache);
}
export function addCache(value) {
    cache.push(value);
}
export function clearCache() {
    cache.length = 0;
}